/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package question3.lsp.Impl;
import question3.lsp.Shape;
 

/**
 *
 * @author Administrator
 */
public class Square implements Shape
{
    int side;
    
    public Square(){}

    public void SetSide(int s) {
        side = s;
    }

     public void SetWidth(int width) {
        side = width;
    }

    public void SetLength(int length) {
        side = length;
    }

    public int GetArea() {
        return side * side;
    }
}
